package com.medeiros.upmoney.util;

import android.app.Activity;
import android.view.View;
import android.view.View.OnClickListener;

public class ViewUtil {
	public static void registrarClickListener(Activity activity, OnClickListener listener, int... buttonsId) {
		View view = null;
		for (int buttonId : buttonsId) {
			view = activity.findViewById(buttonId);
			view.setOnClickListener(listener);
	
		}
	}
}

